ArcPad Preferences File Schema
ALERTS Element
See Also  Send comments on this topic.
ArcPad Preferences File Schema > ArcPad Element > PREFERENCES Element : ALERTS Element

Glossary Item Box

Description

Used to define GPS alert settings in ArcPadPrefs.apx.

Diagram

ALERT Element Sequence ALERTS Element

Overview

ALERTS
Used to define GPS alert settings in ArcPadPrefs.apx.
Sequence
ALERT 1..∞
Used to specify GPS alert settings for the various alerts in ArcPadPrefs.apx.
name optional Restriction of xs:string
Alert name.
play optional Restriction of xs:string
Flag that determines whether to play a sound when the alert occurs.
show optional Restriction of xs:string
Flag that determines whether to display a message when the alert occurs.
sound optional xs:string
Path to a .WAV file to play when the alert occurs.

Examples

Source

<xs:element name="ALERTS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define GPS alert settings in ArcPadPrefs.apx.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element maxOccurs="unbounded" name="ALERT">
        <xs:annotation>
          <xs:documentation>Used to specify GPS alert settings for the various alerts in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute default="nogpsdata" name="name" use="optional">
            <xs:annotation>
              <xs:documentation>Alert name.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="nogpsdata" />
                <xs:enumeration value="maxpdop" />
                <xs:enumeration value="maxepe" />
                <xs:enumeration value="nofix" />
                <xs:enumeration value="notgps" />
                <xs:enumeration value="not3d" />
                <xs:enumeration value="approachingdestination" />
                <xs:enumeration value="dataratewarning" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute default="true" name="play">
            <xs:annotation>
              <xs:documentation>Flag that determines whether to play a sound when the alert occurs.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute default="true" name="show">
            <xs:annotation>
              <xs:documentation>Flag that determines whether to display a message when the alert occurs.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="sound" type="xs:string">
            <xs:annotation>
              <xs:documentation>Path to a .WAV file to play when the alert occurs.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.